<div class="sidebar_detail">
	<div class="tab-header">
		<div class="title">
			<i class="fa fa-home"></i>修改账号
		</div>
		<div class="tool">
			<button type="button" class="btn btn-default"
				ng-click="updateSupport.save()" ng-disabled="updateAccountForm.$invalid">
				<i class="fa fa-outdent"></i>保存
			</button>
		</div>
	</div>
	<!-- Nav tabs -->
	<ul class="nav nav-tabs" role="tablist" style="clear: both">
		<li class="active"><a data-target="#accountBaseInfo" role="tab"
			data-toggle="tab">基本信息</a></li>
	</ul>
	<!-- Tab panels -->
	<div class="tab-content">
		<div class="tab-pane active">
			<form id="updateAccountForm" name="updateAccountForm">
				<div class="row">
					<div class="col-md-12 form-horizontal" style="margin-left: -26px;">
						<div class="form-group">
							<label class="col-md-2 col-sm-2 control-label"><span
								class="notNull">*</span>账号:</label>
							<div class="col-md-10 col-sm-10">
								<input id="account_number" name="account_number" type="text"
									class="form-control"
									ng-model="updateSupport.entity.account_number" ng-maxlength="32" required>
								<span class="glyphicon glyphicon-ok form-control-feedback" ng-show="updateAccountForm.account_number.$valid"></span>
								<span class="error_tips" ng-show="updateAccountForm.account_number.$error.maxlength">最多不能超过32个字符！</span>
							</div>
						</div>
					</div>
				</div>
				<div class="row">
					<div class="col-md-6 form-horizontal" style="margin-left: -26px;">
						<div class="form-group">
							<label class="col-md-4 col-sm-2 control-label"> <span
								class="notNull">*</span>联系人:
							</label>
							<div class="col-md-8 col-sm-10">
								<input id="person_name" name=person_name type="text"
									class="form-control" ng-model="updateSupport.entity.person_name">
								<span class="glyphicon glyphicon-ok form-control-feedback" ng-show="updateAccountForm.person_name.$valid"></span>
								<span class="error_tips" ng-show="updateAccountForm.person_name.$error.maxlength">最多不能超过32个字符！</span>
							</div>
						</div>
					</div>
					<div class="col-md-6 form-horizontal">
						<div class="form-group">
							<label class="col-md-4 col-sm-2 control-label"> <span
								class="notNull">*</span>联系电话:
							</label>
							<div class="col-md-8 col-sm-10">
								<input id="person_phone" name=person_phone type="text"
									class="form-control" ng-model="updateSupport.entity.person_phone" ng-pattern="/(^$)|^(((\+86)|(86))?1[34578]\d{9})$/" required>
								<span class="glyphicon glyphicon-ok form-control-feedback" ng-show="updateAccountForm.person_phone.$valid"></span>
								<span class="error_tips" ng-show="updateAccountForm.person_phone.$error.pattern">电话格式不正确！</span>
							</div>
						</div>
					</div>
				</div>
				<div class="row">
					<div class="col-md-6 form-horizontal" style="margin-left: -26px;">
						<div class="form-group">
							<label class="col-md-4 col-sm-2 control-label"> <span
								class="notNull">*</span>类型:
							</label>
							<div class="col-md-8 col-sm-10">
								<input id="typeName" name="typeName" type="text" class="form-control">
								<input name="type" type="hidden" class="form-control" ng-model="updateSupport.entity.type" required>
								<span class="glyphicon glyphicon-ok form-control-feedback" ng-show="updateAccountForm.type.$valid"></span>
							</div>
						</div>
					</div>
				</div>
				<div class="row">
					<div class="col-md-12 form-horizontal" style="margin-left: -26px;">
						<div class="form-group">
							<label class="col-sm-2 control-label"><span
								class="notNull">*</span>描述:</label>
							<div class="col-sm-10">
								<textarea id="remark" name="remark"
									class="form-control" rows="5"
									ng-model="updateSupport.entity.remark" ng-maxlength="300"></textarea>
								<span class="error_tips" ng-show="updateAccountForm.remark.$error.maxlength">最多不能超过300个字符！</span>
							</div>
						</div>
					</div>
				</div>
				<div class="row">
					<div class="col-md-12 form-horizontal" style="margin-left: -26px;">
						<div class="form-group">
							<label class="col-md-2 col-sm-2 control-label"> <span
								class="notNull">*</span>二维码:
							</label>
							<div class="col-md-10 col-sm-10">
								<div id="account_upload"></div>
								<div ng-show="updateSupport.bind.src">
									<img id="account_img" src="{{ updateSupport.bind.src }}" style="width: 90%; height: 100%;">
									<a ng-if="!updateSupport.entity.image.hasOwnProperty('key')" href="javascript:void(0);" ng-click="updateSupport.removeImg()" style="float: right; "><i class="fa fa-times"></i></a>
									<input name="images" type="hidden" class="form-control" ng-model="updateSupport.bind.src" required>
									<span class="glyphicon glyphicon-ok form-control-feedback" ng-show="updateAccountForm.images.$valid"></span>
								</div>
							</div>
						</div>
					</div>
				</div>
			</form>
		</div>
	</div>
</div>